<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('cooperate_admin_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <input type="hidden" name="cooperate_id" value="{$cooperate_id}"/>
                    <li><span>合作商管理员账号：</span><input type="text" name="account" value="{$account}"/></li>
                    <li><span>合作商管理员名称：</span><input type="text" name="real" value="{$real}"/></li>
                    <li><span>合作商管理员昵称：</span><input type="text" name="nick" value="{$nick}"/></li>
                    <li><span>合作商管理员电话：</span><input type="text" name="phone" value="{$phone}"/></li>
                    <li><span>是否负责人：</span>{:widget('common/Select/select',array('is_leader','is_leader',$is_leader))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>
<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>头像</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>昵称</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>真实名称</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>电话</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>身份证号码</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>是否负责人</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>删除状态</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>创建时间</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
            </tr>
            </thead>
            <tbody>
            {foreach name="cooperate_admin_list" item="info"}
            <tr>
                <td>{$info.cooperate_admin_id}</td>
                <td>{:widget('common/Images/img',array($info["avatar"],30,30))}</td>
                <td>{$info.nick}</td>
                <td>{empty name="info['real']"}--{else/}{$info.real}{/empty}</td>
                <td>{empty name="info['phone']"}--{else/}{$info.phone}{/empty}</td>
                <td>{empty name="info['identity']"}--{else/}{$info.identity}{/empty}</td>
                <td>{:widget('common/Color/Color',array("is_leader",$info['is_leader']))}</td>
                <td>{:widget('common/Color/Color',array("is_delete",$info['is_delete']))}</td>
                <td>{empty name="info['reg_time']"}--{else/}{$info.reg_time}{/empty}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('cooperate_admin_info',array('cooperate_admin_id'=>$info['cooperate_admin_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">详情</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>